Lamar Morrison was captured by Egg Harbor Township police at the Fire Road Apartments, police said.
Morrison allegedly held up the gas station on Fire Road in the Farmington section of town at 5:35 p.m, Tuesday, police said.
Morrison was charged with robbery, aggravated assault, receiving stolen property and weapons offenses.
He was being held at the Atlantic County Jail.
Click here to follow Daily Voice Reading and receive free news updates.